package com.aaa.mrcai.controller;

import com.aaa.mrcai.query.AdminOrderQuery;
import com.aaa.mrcai.result.AjaxResult;
import com.aaa.mrcai.service.BusinessOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Author: Lining
 * @ Date: 2021/12/15 18:58
 */
@RestController
@RequestMapping("BusinessOrder")
public class BusinessOrderController {

    @Autowired
    private BusinessOrderService businessOrderService;

    @RequestMapping("list")
    public AjaxResult list(AdminOrderQuery adminOrderQuery){
        AjaxResult list = businessOrderService.list(adminOrderQuery);
        return list;
    }
}
